/**
 *User Module Error Code Define
 *
 */
 
 //User Login 
var  USER_INVALIDED_PRIVILIAGE = -3  ;
var  USER_STATE_PAUSE = -2  ;
var  USER_LOGIN_INFO_INCORRECT = -1  ;
var  USER_VALIDED_SUCCESSFUL = 1  ;

/**
 *Compact Module Error Code Define
 *
 */
 
//Compact Type 
var  COMPACT_TYPE_ADD_SUCCESSFUL     = 100000  ;
var  COMPACT_TYPE_ADD_FAILD          = 100001  ;
var  COMPACT_TYPE_IS_ALREADE_HAVE    = 100002  ;
var  COMPACT_TYPE_UPDATE_SUCCESSFUL  = 100003  ;
var  COMPACT_TYPE_UPDATE_FAILD       = 100004  ;
var  COMPACT_TYPE_PARAMS_INVALIDED   = 100005  ;
var  COMPACT_TYPE_IN_USED            = 100006  ;
var  COMPACT_TYPE_DELETE_SUCCESSFUL  = 100007  ;
var  COMPACT_TYPE_DELETE_FAILD       = 100008  ;


//Department Config
var DEPARTMENT_ADD_SUCCESSFUL     = 100050 ;
var DEPARTMENT_ADD_FAILD          = 100051 ;
var DEPARTMENT_IS_ALREADE_HAVE    = 100052 ;
var DEPARTMENT_UPDATE_SUCCESSFUL  = 100053 ;
var DEPARTMENT_UPDATE_FAILD       = 100054 ;
var DEPARTMENT_PARAMS_INVALIDED   = 100055 ;
var DEPARTMENT_IN_USED            = 100056 ;
var DEPARTMENT_DELETE_SUCCESSFUL  = 100057 ;
var DEPARTMENT_DELETE_FAILD       = 100058 ;

//Position Config
var POSITION_ADD_SUCCESSFUL     = 100100 ;
var POSITION_ADD_FAILD          = 100101 ;
var POSITION_IS_ALREADE_HAVE    = 100102 ;
var POSITION_UPDATE_SUCCESSFUL  = 100103 ;
var POSITION_UPDATE_FAILD       = 100104 ;
var POSITION_PARAMS_INVALIDED   = 100105 ;
var POSITION_IN_USED            = 100106 ;
var POSITION_DELETE_SUCCESSFUL  = 100107 ;
var POSITION_DELETE_FAILD       = 100108 ;

//User Module
var USER_ADD_SUCCESSFUL            = 100150 ;
var USER_ADD_FAILD                 = 100151 ;
var USER_IS_ALREADER_HAVE          = 100152 ;
var USER_UPDATE_SUCCESSFUL         = 100153 ;
var USER_UPDATE_FAILD              = 100154 ;
var USER_PARAMS_INVALIDED          = 100155 ;
var USER_IN_USED                   = 100156 ;
var USER_DELETE_SUCCESSFUL         = 100157 ;
var USER_DELETE_FAILD              = 100158 ;
var USER_CHANGE_STATUS_SUCCESSFUL  = 100159 ;
var USER_CHANGE_STATUS_FAILD       = 100160 ;